Holds information about a depth and stencil state used for rendering. More...
Holds information about a depth and stencil state used for rendering.
nkGraphics::DepthStencilState::DepthStencilState | ( | ) |
Constructor. See DepthStencilStateManager::createOrRetrieve().
|
virtual |
Destructor. See DepthStencilStateManager::erase().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Resets the state to its default values.
|
pure virtual |
Sets whether the depth read and writes should be used during rendering.
value | If the depth should be enabled (true) or not (false). |
|
pure virtual |
Sets the depth write mask to use.
value | The mask to use for depth write operations. |
|
pure virtual |
Sets the depth comparison function.
value | The depth comparison function to use. |
|
pure virtual |
Sets whether the stencil read and writes should be used during rendering.
value | If the stencil is enabled (true) or not (false). |
|
pure virtual |
Sets the stencil read mask.
value | The mask to use. |
|
pure virtual |
Sets the stencil write mask.
value | The mask to use. |
|
pure virtual |
Sets the stencil operation to use when both for depth and stencil fail, for front faces.
value | The stencil operation to use. |
|
pure virtual |
Sets the stencil operation to use when stencil passes, but depth fails, for front faces.
value | The stencil operation to use. |
|
pure virtual |
Sets the stencil operation to use when both depth and stencil pass, for front faces.
value | The stencil operation to use. |
|
pure virtual |
Sets the stencil comparison function, for front faces.
value | The comparison function to use. |
|
pure virtual |
Sets the stencil operation to use when both for depth and stencil fail, for back faces.
value | The stencil operation to use. |
|
pure virtual |
Sets the stencil operation to use when stencil passes, but depth fails, for back faces.
value | The stencil operation to use. |
|
pure virtual |
Sets the stencil operation to use when both depth and stencil pass, for back faces.
value | The stencil operation to use. |
|
pure virtual |
Sets the stencil comparison function, for back faces.
value | The comparison function to use. |
|
virtual |
Basic exporting capabilities.
rootNode | The tree to export to. |
Implements nkExport::Exportable.
|
virtual |
Basic importing capabilities.
rootNode | The tree to import from. |
Implements nkExport::Exportable.